package com.fudan.gamestore.mapper;

import com.fudan.gamestore.pojo.Token;
import org.apache.ibatis.annotations.Param;

public interface TokenMapper {
    Integer insertToken(@Param("token")String token, @Param("userId")Integer userId);

    Token getToken(@Param("token")String token);

    Integer deleteToken(@Param("token")String token);
}
